/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package objetosNegocio;

import enums.EnumClass;
import java.util.Date;

/**
 *
 * @author QUINTERO
 */
public class Movie {
    private int id;
    private String name;
    private String image;
    private String trailer;
    private Date premiere;
    private String genre;
    private String clasificacion;
    private String director;
    private String acthors;
    private String sinopsis;
    private int status;

    public Movie() {
    }

    public Movie(int id) {
        this.id = id;
    }

    public Movie(int id, String name, String image, String trailer, Date premiere, String genre, String clasificacion, String director, String acthors, String sinopsis, int status) {
        this.id = id;
        this.name = name;
        this.image = image;
        this.trailer = trailer;
        this.premiere = premiere;
        this.genre = genre;
        this.clasificacion = clasificacion;
        this.director = director;
        this.acthors = acthors;
        this.sinopsis = sinopsis;
        this.status = status;
    }

    public String getActhors() {
        return acthors;
    }

    public void setActhors(String acthors) {
        this.acthors = acthors;
    }

    public String getClasificacion() {
        return clasificacion;
    }

    public void setClasificacion(String clasificacion) {
        this.clasificacion = clasificacion;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getPremiere() {
        return premiere;
    }

    public void setPremiere(Date premiere) {
        this.premiere = premiere;
    }

    public String getSinopsis() {
        return sinopsis;
    }

    public void setSinopsis(String sinopsis) {
        this.sinopsis = sinopsis;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTrailer() {
        return trailer;
    }

    public void setTrailer(String trailer) {
        this.trailer = trailer;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Movie other = (Movie) obj;
        if (this.id != other.id) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 41 * hash + this.id;
        return hash;
    }

    @Override
    public String toString() {
        return "Movie{" + "id=" + id + ", name=" + name + ", image=" + image + ", trailer=" + trailer + ", premiere=" + premiere + ", genre=" + genre + ", clasificacion=" + clasificacion + ", director=" + director + ", acthors=" + acthors + ", sinopsis=" + sinopsis + ", status=" + status + '}';
    }
}
